
import request from '@/utils/request';

// 查询列表
export async function queryScene(params) {
  return request('/b/strategysituation/queryPageList', {
    method: 'POST',
    data: params,
  });
}
// 新增
export async function addScene(params) {
  return request('/b/strategysituation/add', {
    method: 'POST',
    data: params,
  });
}

// 删除
export async function removeScene(params) {
  return request('/b/strategysituation/delete', {
    method: 'POST',
    data: params,
  });
}

// 修改
export async function updateScene(params) {
  return request('/b/strategysituation/update', {
    method: 'POST',
    data: params,
  });
}

// 查询树形组织
export async function queryTreeOrgList(params) {
  return request('/b/strategysituation/queryOrgTree', {
    method: 'POST',
    data: params,
  });
}

// 查询组织列表
export async function queryOrgList(params) {
  return request('/b/strategysituation/queryUserList', {
    method: 'POST',
    data: params,
  });
}

// 自定义组织树
export async function queryDIYOrgTree(params) {
  return request('/b/strategysituation/queryDIYOrgTree', {
    method: 'POST',
    data: params,
  });
}
